<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="display" uri="/WEB-INF/tags/displaytag-12.tld"%>
<%@page import="com.opensymphony.module.sitemesh.Page"%>
<html>
<head>
<meta name="tab" content="students" />
<meta name="leftbar-link" content="add-batch"/>
<meta name="decorator" content="DefaultLayout"/>
<link href="<s:url value="/webwork/jscalendar/calendar-blue.css" />" rel="stylesheet" type="text/css" media="all" />
</head>
<body>

<div id="container" >
<span id="pageHeading">Add New Employee<hr/></span>
<s:head theme="ajax" />
<s:form id="addEmployee" action="addEmployee.action" >
<div id="content">
<table>
<tr>
	<td>Employee ID</td>
	<td>
		<s:textfield id="employee.empId" name="employee.empId" value="%{employee.empId}" size="11"/>
	</td>
	
</tr>
<tr>
	<td>Employee Surname</td>
	<td>
<s:textfield id="employee.empSurname" name="employee.empSurname" value="%{employee.empSurname}" size="35"/>
</td>

<tr>
	<td>Employee Name</td>
	<td>
<s:textfield id="employee.empName" name="employee.empName" value="%{employee.empName}" size="35"/>
</td>
	
</tr>
<tr>
	<td>Select Role</td>
	<td>
	<s:select id="roleId" name="employee.roleId" cssClass="dropdown" 
	                            value="%{roleId}" headerKey="none" headerValue="Select Role" 
				  			   list="roleList" listKey="roleId" listValue="roleName" onselect="true"/>
				  			<span class="mandetory">*</span>
	</td>
</tr>

<tr>
	<td>Employee Phone</td>
	<td>
		<s:textfield id="employee.empPhone" name="employee.empPhone" value="%{employee.empPhone}" size="35"/>
	</td>
</tr>



<tr>
	<td colspan="4" align="center"><s:submit theme="simple" id="submitBtn" value="Add New Employee" cssClass="orange"/>
</td>
</tr>

</table>
</div>
<p>

</s:form>
</div>
</body>
</html>
